<?php
require("../class/connect.php");
require('../class/userfun.php');
$pldata = Sync_GetPl();
$str='';
foreach($pldata as $k=>$v)
{
    $str.='<li class="ds-comment"><div class="ds-avatar"><img style="width:32px;height:32px" alt="'.$v[username].'" src="'.$v[userpic].'"></div><div class="ds-meta">'.$v[username].'<span class="ds-time">'.date('m月d日',$v[saytime]).'</span></div><div class="ds-excerpt"><a href="'.$v[titleurl].'" target="_blank">'.$v[saytext].'</a></div></li>';
}
echo $str;
?>